﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using Pasys.PresentationCore.Utility;

namespace Pasys.PresentationCore.WinForms
{
    public class ToolbarCreateOptions
    {
        public string CreateType { get; set; }
        public string Before { get; set; }
        public string After { get; set; }

        public ToolbarCreateOptions(XmlNode node)
        {
            CreateType=XmlUtility.ReadAttribute(node, "createType");
            Before = XmlUtility.ReadAttribute(node, "before");
            After = XmlUtility.ReadAttribute(node, "after");
        }

    }
}
